package com.settlement.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.settlement.system.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
* 店铺账号表
* </p>
*
* @author huangrensen
* @since 2023-08-25
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysStoreAccount extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
    * 账单类型
    */
    private String accountType;

    @TableField(exist = false)
    private String storeKey;
    @TableField(exist = false)
    private Long storeId;
    @TableField(exist = false)
    private String storeCode;

    // 平台名称
    @TableField(exist = false)
    private String platformName;

    // 平台店铺名称
    @TableField(exist = false)
    private String platformStoreName;

    /**
    * 店铺标识
    */
    private String account;

    /**
    * 登录账号
    */
    private String userName;

    /**
     * 凭证KEY
     */
    private String voucher;

    /**
    * 登录密码
    */
    private String pwd;

    /**
    * 电商平台店铺编码
    */
    private String commercePlatformStoreCode;
    @TableField(exist = false)
    private String commercePlatformStoreName;

    /**
     * 关联手机号
     */
    private String mobile;
    /**
     * 短信验证码关键字
     */
    private String messageKey;
}
